package com.hdu.pyl.mappper;

import com.hdu.pyl.pojo.News;
import org.springframework.stereotype.Repository;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

@Repository
public interface NewsMapper {
    News findById(int id);
    int insertNew(News news);
    List<News> recommendWithNum(int limit,  Date startTime);
}
